package com.supermarket.service;

import com.supermarket.entity.Warehouse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface WarehouseService {

    List<Warehouse> findAll();

    Integer findCount();

    void add(Warehouse warehouse);

    void deleteById(String warehouseID);

    void updateWarehouse(Warehouse warehouse);

    void deleteByIds(Integer[] ids);

    List<Warehouse> findByIds(Integer[] ids);

    void save(MultipartFile file);
}
